package com.gitee.simons.common.tree;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author jsm
 * @date 2018/12/13 09:27
 * @Description
 */
@Getter
@Setter
public class Node<T extends TreeModel> implements Serializable {
    private static final long serialVersionUID = 1L;

    private T entity;

    private List<Node<T>> children;

    private String parentPath;

}
